﻿namespace Dexter.Domain.Model {
	public partial class Plugin {
		public virtual void Enable() {
			this.Enabled = true;
		}

		public virtual void Disable() {
			this.Enabled = false;
		}

		public virtual void SetInstalled() {
			this.IsInstalled = true;
		}

		public virtual void SetUninstalled() {
			this.IsInstalled = false;
		}

		//public virtual void SetConfiguration(string configuration) {
		//    Configuration = configuration;
		//}

		//public virtual string GetConfiguration ( ) {
		//    return Configuration;
		//}
	}
}